package com.zerosky.crm.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zerosky.crm.dao.PluralizeDAO;
import com.zerosky.crm.po.Pluralize;
import com.zerosky.crm.service.PluralizeService;

@Service(value="pluralizeService")
public class PluralizeServiceImpl implements PluralizeService {
	@Autowired
	private PluralizeDAO pluralizeDao;

	@Override
	public List<Pluralize> getPluralizeList(Map map) {
		return pluralizeDao.getPluralizeList(map);
	}

	@Override
	public int addPluralize(Pluralize dept) {
		return pluralizeDao.addPluralize(dept);
	}

	@Override
	public int deletePluralizeById(String emloyeeId) {
		return pluralizeDao.deletePluralizeById(emloyeeId);
	}

}
